<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('Operation/rechargeLog')}">{:lang('USER_RECHARGE')}</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('Operation/index')}">
        订单号:
        <input type="text" class="form-control" name="order_bn" style="width: 120px;" value="{:input('request.order_bn/s','')}" placeholder="请输入{:lang('ORDER_BN')}">
        用户名:
        <input type="text" class="form-control" name="user_login" style="width: 120px;" value="{:input('request.user_login/s','')}" placeholder="请输入{:lang('USERNAME')}">
        <input type="submit" class="btn btn-primary" value="搜索" />
        <a class="btn btn-danger" href="{:url('Operation/index')}">清空</a>
    </form>
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <th width="50">ID</th>
            <th>{:lang('USER_ID')}</th>
            <th>{:lang('ORDER_BN')}</th>
            <th>{:lang('BALANCE')}</th>
            <th>{:lang('BALANCE_CHANGE')}</th>
            <th>{:lang('LOG_TYPE')}</th>
            <th>{:lang('CREATE_TIME')}</th>
            <th>{:lang('REMARK')}</th>
        </tr>
        </thead>
        <tbody>
       <foreach name="rechargeLogList" item="vo">
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.user_id}</td>
                <td>{$vo.order_bn}</td>
                <td>{$vo.balance}</td>
                <td>{$vo.change}</td>
                <td>
                    <if condition="$vo['id'] eq 'recharge'">充值<elseif condition="$vo['log_type'] eq 'game'">游戏<else>未知</if>
                <td>{$vo.create_time}</td>
                <td>{$vo.remark}</td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>